package cn.ctodb.openapi.idcard.service.dto;

import cn.ctodb.openapi.base.ApiResultAbstractDto;

import java.util.Objects;

/**
 * Created by cc on 2017/3/31.
 */
public class IdcardDTO extends ApiResultAbstractDto {

    private String name;

    private String cardno;

    private String sex;

    private String address;

    private String birthday;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCardno() {
        return cardno;
    }

    public void setCardno(String cardno) {
        this.cardno = cardno;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        DataIdcardDTO dataIdcardDTO = (DataIdcardDTO) o;

        return true;
    }

    @Override
    public String toString() {
        return "DataIdcardDTO{" +
            ", name='" + name + "'" +
            ", cardno='" + cardno + "'" +
            ", sex='" + sex + "'" +
            ", address='" + address + "'" +
            ", birthday='" + birthday + "'" +
            '}';
    }
}
